<!DOCTYPE html>
<html>
<head><meta charset="utf-8"><title>扫码点餐测试</title></head>
<body>
<h2>扫码点餐测试页</h2>
<p>门店：<span id="storeId"></span></p>
<p>桌号：<span id="tableId"></span></p>
<script>
    const url = new URL(location.href);
    document.getElementById('storeId').innerText = url.searchParams.get('storeId');
    document.getElementById('tableId').innerText  = url.searchParams.get('tableId');
</script>
</body>
</html>